#ifndef DATAFILE_H
#define DATAFILE_H

#include "..\..\share\class\xmlfile.h"


class datafile_c : public xmlfile_c
{
    public:
        datafile_c(const char * aPfad, const char * aFile);
        virtual ~datafile_c();
        bool changed;
        int checkSave();
        int setHTTP(char * text);
        char * getHttp();
        int setFile(char * text);
        char * getFile();
    protected:
        int load();
        int loadData();
        int loadEntry();
    private:
        char * fName;
        char * http;
        char * htmlfile;
};

#endif // DATAFILE_H
